package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.mbc.common.param.CriteriaRMParams;

@SuppressWarnings("serial")
public class CashRemittanceToAgent extends CriteriaRMParams implements Serializable {
	private long receiptID;
	private String receiptNo;
	private Date createdDate;
	private Date modifiedDate;
	private Date receivedDate;
	private Long createdBy;
	private Long modifiedBy;
	private Date trDate;
	private Long toAgentID;
	private String toAgentCode;
	private String toAgentName;
	private long BranchID;
	private String BranchCode;
	private Long paymentCurrencyID;
	private String paymentCurrencyCode;
	private Long receivedCurrencyID;
	private String receivedCurrencyCode;
	private double rate;
	private double totalPaymentAmt;
	private double totalReceivedAmt;
	private double extraFees;
	private double payment;
	private Long bankId;
	private String bankCode;

	private String rateOperator;
	private long rateId;
	private String rateCode;
	private double netAmt;
	private double balance;
	
	private List<CashRemittanceToAgentDetail> details;
	
	public CashRemittanceToAgent(){
		clearProperites();
	}
	public void clearProperites() {
		bankId = null;
		bankCode = "";
		createdBy = null;
		createdDate = new Date();
		rate = 0; 
		
		receiptID = 0;
		receiptNo = "";
	
		modifiedDate = new Date();
		receivedDate = new Date();
		modifiedBy = null;
		trDate = new Date(); 
		toAgentID  = null;
		toAgentCode = "";
		toAgentName = "";
		BranchID  = 0;
		paymentCurrencyID  = null;
		paymentCurrencyCode = "";
		receivedCurrencyID  = null;
		receivedCurrencyCode = "";
		rate  = 0;
		totalPaymentAmt = 0.0;
		totalReceivedAmt = 0.0;
		extraFees = 0.0;
		payment = 0.0;

		rateOperator  = "";
		rateId = 0;
		rateCode = "";
		netAmt = 0.0;
		balance = 0.0;
		
		BranchCode = "";
			
	}
	public long getReceiptID() {
		return receiptID;
	}
	public void setReceiptID(long receiptID) {
		this.receiptID = receiptID;
	}
	public String getReceiptNo() {
		return receiptNo;
	}
	public void setReceiptNo(String receiptNo) {
		this.receiptNo = receiptNo;
	}
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	public Date getModifiedDate() {
		return modifiedDate;
	}
	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}
	public Date getReceivedDate() {
		return receivedDate;
	}
	public void setReceivedDate(Date receivedDate) {
		this.receivedDate = receivedDate;
	}
	public Long getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}
	public Long getModifiedBy() {
		return modifiedBy;
	}
	public void setModifiedBy(Long modifiedBy) {
		this.modifiedBy = modifiedBy;
	}
	public Date getTrDate() {
		return trDate;
	}
	public void setTrDate(Date trDate) {
		this.trDate = trDate;
	}
	public Long getToAgentID() {
		return toAgentID;
	}
	public void setToAgentID(Long toAgentID) {
		this.toAgentID = toAgentID;
	}
	public String getToAgentCode() {
		return toAgentCode;
	}
	public void setToAgentCode(String toAgentCode) {
		this.toAgentCode = toAgentCode;
	}
	public String getToAgentName() {
		return toAgentName;
	}
	public void setToAgentName(String toAgentName) {
		this.toAgentName = toAgentName;
	}
	public long getBranchID() {
		return BranchID;
	}
	public void setBranchID(long branchID) {
		BranchID = branchID;
	}
	public String getBranchCode() {
		return BranchCode;
	}
	public void setBranchCode(String branchCode) {
		BranchCode = branchCode;
	}
	public Long getPaymentCurrencyID() {
		return paymentCurrencyID;
	}
	public void setPaymentCurrencyID(Long paymentCurrencyID) {
		this.paymentCurrencyID = paymentCurrencyID;
	}
	public String getPaymentCurrencyCode() {
		return paymentCurrencyCode;
	}
	public void setPaymentCurrencyCode(String paymentCurrencyCode) {
		this.paymentCurrencyCode = paymentCurrencyCode;
	}
	public Long getReceivedCurrencyID() {
		return receivedCurrencyID;
	}
	public void setReceivedCurrencyID(Long receivedCurrencyID) {
		this.receivedCurrencyID = receivedCurrencyID;
	}
	public String getReceivedCurrencyCode() {
		return receivedCurrencyCode;
	}
	public void setReceivedCurrencyCode(String receivedCurrencyCode) {
		this.receivedCurrencyCode = receivedCurrencyCode;
	}
	public double getRate() {
		return rate;
	}
	public void setRate(double rate) {
		this.rate = rate;
	}
	public double getTotalPaymentAmt() {
		return totalPaymentAmt;
	}
	public void setTotalPaymentAmt(double totalPaymentAmt) {
		this.totalPaymentAmt = totalPaymentAmt;
	}
	public double getTotalReceivedAmt() {
		return totalReceivedAmt;
	}
	public void setTotalReceivedAmt(double totalReceivedAmt) {
		this.totalReceivedAmt = totalReceivedAmt;
	}
	public double getExtraFees() {
		return extraFees;
	}
	public void setExtraFees(double extraFees) {
		this.extraFees = extraFees;
	}
	public double getPayment() {
		return payment;
	}
	public void setPayment(double payment) {
		this.payment = payment;
	}
	public Long getBankId() {
		return bankId;
	}
	public void setBankId(Long bankId) {
		this.bankId = bankId;
	}
	public String getBankCode() {
		return bankCode;
	}
	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}
	public String getRateOperator() {
		return rateOperator;
	}
	public void setRateOperator(String rateOperator) {
		this.rateOperator = rateOperator;
	}
	public long getRateId() {
		return rateId;
	}
	public void setRateId(long rateId) {
		this.rateId = rateId;
	}
	public String getRateCode() {
		return rateCode;
	}
	public void setRateCode(String rateCode) {
		this.rateCode = rateCode;
	}
	public double getNetAmt() {
		return netAmt;
	}
	public void setNetAmt(double netAmt) {
		this.netAmt = netAmt;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	public List<CashRemittanceToAgentDetail> getDetails() {
		return details;
	}
	public void setDetails(List<CashRemittanceToAgentDetail> details) {
		this.details = details;
	}
	
	
}
